package org.jing.core.thread.itf;

import org.jing.core.lang.data.BaseSerializableDto;

/**
 * Description: <br>
 *
 * @author bks <br>
 * @since 2020-05-26 <br>
 */
@SuppressWarnings("EmptyMethod")
public abstract class BaseMultiplyThread<C extends BaseSerializableDto> {
    private C config;

    public void setConfig(C config) {
        this.config = config;
    }

    public C getConfig() {
        return config;
    }

    public void before() {}

    public abstract void execute();

    public void after() {}
}
